<?php
/***************************************************************************
 * 
 * Copyright (c) 2010 , Inc. All Rights Reserved
 * $Id$:ConfTest.php,2010/05/13 14:10:13 
 * 
 **************************************************************************/
 
 
 
/**
 * @file ConfTest.php
 * @author huqingping
 * @date 2010/05/13 14:10:13
 * @version 1.0 
 * @brief 
 *  
 **/

require_once 'apiproxy/PHPProxy.php';

final class PHPProxyTest extends PHPUnit_Framework_TestCase
{
	function testPHPProxy()
	{
		$proxy = new PHPProxy('mod');
		$proxy->init(array(
			'app_path'=>dirname(__FILE__).'/',
			'conf_path'=>dirname(__FILE__).'/'
		),'cc');
		$ret = $proxy->call('concat',array(1,'2'));
		$this->assertFalse($proxy->cacheable());
		$this->assertEquals('cc12',$ret);

	}

}





/* vim: set ts=4 sw=4 sts=4 tw=100 noet: */
?>
